package com.usian.order.fegin;

import com.usian.order.vo.Stock;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author baimugudu
 * @email 2415621370@qq.com
 * @date 2023/8/11 14:36
 */
@FeignClient("at-stock")
public interface StockFegin {

    @PostMapping("/stock/ipdateSt")
    public String updateStock(@RequestBody Stock stock);
}
